#include <iostream>

// 单例模式
class Signleton
{
private:
    Signleton* m_instance;
public:
    Signleton();
    Signleton(const Signleton &) = delete;
    Signleton &operator=(const Signleton &) = delete;
    ~Signleton();

    static Signleton *instance()
    {
        static Signleton ins;
        return &ins;
    }
};

Signleton* Signleton::m_instance = new Signleton;

Signleton::Signleton(/* args */)
{
}

Signleton::~Signleton()
{
}
